<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <title>
        <%= webpackConfig.name %>
    </title>
    <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
    <link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
    <% } %>
    <style>
        .amap-logo {
            display: none;
            opacity: 0 !important;
        }

        .amap-copyright {
            opacity: 0;
        }
    </style>
    <script type="text/javascript">
        window._AMapSecurityConfig = {
            securityJsCode: "3ca4252032e86db5a09eeb0c0abd2eb1",
        }
        // var AmapTag = document.createElement('script');
        // AmapTag.type = 'text/javascript';
        // AmapTag.charset = 'utf-8';
        // AmapTag.src =
        // 'https://webapi.amap.com/maps?key=cd511ce064358b5a2118efa8ad96d672&v=1.4.4&plugin=AMap.PolygonEditor,AMap.MouseTool,AMap.Geolocation,AMap.Scale,AMap.OverView,AMap.ToolBar,AMap.MapType,AMap.PolyEditor,AMap.PlaceSearch,AMap.Autocomplete,AMap.Geocoder,AMap.AMapUI,AMap.CircleEditor,AMap.MouseTool';
        // var root_s = document.getElementsByTagName('script')[0];
        // root_s.parentNode.insertBefore(AmapTag, root_s);
        </script>
        <script type="text/javascript" src="https://webapi.amap.com/maps?key=cd511ce064358b5a2118efa8ad96d672&v=1.4.15&plugin=AMap.PolygonEditor,AMap.MouseTool,AMap.Geolocation,AMap.Scale,AMap.OverView,AMap.ToolBar,AMap.MapType,AMap.PolyEditor,AMap.PlaceSearch,AMap.Autocomplete,AMap.Geocoder,AMap.AMapUI,AMap.CircleEditor,AMap.MouseTool,AMap.MarkerCluster"></script>
        <script type="text/javascript" src="https://webapi.amap.com/ui/1.1/main.js?v1=1.1.1"></script>
</head>
<div id="app"></div>
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
<script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
<% } %>

</body>

</html>